net/http.Protocols.setBit (method)

4 uses

	net/http (current package)
		http.go#L44: func (p *Protocols) SetHTTP1(ok bool) { p.setBit(protoHTTP1, ok) }
		http.go#L50: func (p *Protocols) SetHTTP2(ok bool) { p.setBit(protoHTTP2, ok) }
		http.go#L56: func (p *Protocols) SetUnencryptedHTTP2(ok bool) { p.setBit(protoUnencryptedHTTP2, ok) }
		http.go#L58: func (p *Protocols) setBit(bit uint8, ok bool) {